package com.yujistu.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.yujistu.R;
import com.yujistu.adapter.BaseListAdapter;
import com.yujistu.adapter.SearchAdapter;

/**
 * Created by Win on 2015/11/6.
 */
public class SearchingFragment extends BaseFragment {

    private View  mContentView;
    private SearchAdapter adapter;

    /*@Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        mContentView = inflater.inflate(R.layout.fragment_base_list, container, false);

        return mContentView;
    }*/

    @Override
    public int getLayoutId() {
        return R.layout.fragment_base_list;
    }

    @Override
    public BaseListAdapter getListAdapter() {
        return null;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_search_result, null);

        TextView result = (TextView) view.findViewById(R.id.resultTV);

        adapter = new SearchAdapter(getActivity());
    }
}
